﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServerLibrary.Abstract
{
    /// <summary>
    /// Starts/stops server
    /// </summary>
    public interface ICommunicator
    {
        /// <summary>
        /// Starts server work(listening incoming requests and send tasks to task handler by task manager)
        /// </summary>
        void Start();
        
        /// <summary>
        /// Stops server
        /// </summary>
        void Stop();
    }
}
